from flask  import Flask,session

app = Flask(__name__)

@app.route("/login")
def login():
    session['k1'] = 123
    return 'login'

@app.route("/")
def index():
    return 'Index'

if __name__ == "__main__":
    app.run()
